<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:pe="http://primefaces.org/ui/extensions">
<ui:composition template="/templates/masterLayout.xhtml">
	<ui:define name="resources-app">
		<ui:include src="/pages/shared/resources-app.xhtml" />
		<h:outputStylesheet library="syntaxhighlighter"
			name="styles/syntaxhighlighter.css" />
		<h:outputScript library="syntaxhighlighter" name="scripts/shCore.js"
			target="body" />
		<h:outputScript library="syntaxhighlighter"
			name="scripts/shBrushXml.js" target="body" />
		<h:outputScript library="syntaxhighlighter"
			name="scripts/shBrushJava.js" target="body" />
		<h:outputScript library="syntaxhighlighter"
			name="scripts/shBrushCss.js" target="body" />
		<h:outputScript library="syntaxhighlighter"
			name="scripts/shBrushJScript.js" target="body" />
		<h:outputScript id="syntaxhighlighterInit" target="body">
            dp.SyntaxHighlighter.ClipboardSwf = '#{request.contextPath}/resources/syntaxhighlighter/scripts/clipboard.swf';
            dp.SyntaxHighlighter.HighlightAll('code');
       </h:outputScript>       
	</ui:define>

	
	<ui:define name="header">
		<ui:include src="/templates/header.xhtml" />
	</ui:define>
	<ui:define name="center">
		<pe:layoutPane position="center">
			<ui:insert name="centerContent" />
		</pe:layoutPane>
		<pe:layoutPane position="west">
			<f:facet name="header">
				<h:outputText value="#{msgs.menu}" />
			</f:facet>
				<ui:include src="/templates/mainMenu.xhtml"/>
		</pe:layoutPane>
		
	</ui:define>
	<ui:define name="footer">
		<ui:include src="/templates/footer.xhtml" />
	</ui:define>
	<ui:define name="dialogs">
		<h:form id="dialogForm" prependId="false">
			<ui:include src="/pages/shared/dialogs.xhtml" />
		</h:form>
	</ui:define>	
	<ui:define name="downloadfile">
		<ui:include src="/pages/shared/downloadfileprogress.xhtml"/>	
	</ui:define>
</ui:composition>
</html>
